home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / misc / moonbas2 / makefile < prev    next >
Makefile  |  1995-04-11  |  663b  |  39 lines

  1. #
  2. #  Makefile for 32-Bit Demo Programs
  3. #
  4.  
  5. # name the compilers
  6. CC = wpp386
  7. ASM = tasm
  8.  
  9. # options to use
  10. CFLAGS = -zq -s -omailnet -zp4 -5r -w4
  11. #CFLAGS = -w4 -d2
  12. #CFLAGS = -zq -s -omaxnet -zp4 -5r -w4
  13. AFLAGS =
  14. LNKOPT = system pmodew option quiet
  15. #LNKOPT = option quiet
  16.  
  17. .EXTENSIONS:
  18. .EXTENSIONS: .exe .lib .obj .asm .cpp
  19.  
  20. .BEFORE
  21.     @set INCLUDE=.;$(%watcom)\h
  22.  
  23. # explicit rules
  24.  
  25. moon.exe : moon.obj vga_y.obj fixed.obj world.obj mouse.obj
  26.     wlink $(LNKOPT) name moon file moon,vga_y,fixed,world,mouse
  27.  
  28. clean : .SYMBOLIC
  29.     del *.obj
  30.     del *.exe
  31.  
  32. # implicit rules
  33.  
  34. .cpp.obj :
  35.     $(CC) $^& $(CFLAGS)
  36.  
  37. .asm.obj :
  38.     $(ASM) $(AFLAGS) $^&;
  39.